module.exports = {
  	chainWebpack: config => {
    	config
      	.plugin('html')
      	.tap(args => {
        	args[0].title= 'WowSurprise有惊喜'
        	return args
      	})
  	},
    lintOnSave: false,
    devServer: {
      proxy: {
        '/v1': {
            target: 'http://wxapi.youjingxi.net.cn',
            changeOrigin: true,
            pathRewrite: {
                '^/v1': 'http://wxapi.youjingxi.net.cn/v1'
            }
        }
      }
    },
    outputDir: 'h5'
}